package com.photomap.UI;

import com.helper.GalleryFlow;
import com.helper.ImageAdapter;

import android.app.Activity;
import android.os.Bundle;

public class PhotoDisplay extends Activity {
	public static Integer[] images= { R.drawable.img0001, R.drawable.img0030,
            R.drawable.img0100, R.drawable.img0130, R.drawable.img0200,
            R.drawable.img0230, R.drawable.img0300, R.drawable.img0330,
            R.drawable.img0354 };
	
	public PhotoDisplay()
	{}
	public PhotoDisplay(Integer[] images) {
		super();
		this.images = images;
	}

	public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        setContentView(R.layout.layout_gallery);

        ImageAdapter adapter = new ImageAdapter(this, images);
        adapter.createReflectedImages();

        GalleryFlow galleryFlow = (GalleryFlow) findViewById(R.id.Gallery01);
        galleryFlow.setAdapter(adapter);
        
}

	public Integer[] getImages() {
		return images;
	}

	public void setImages(Integer[] images) {
		this.images = images;
	}
}